Configuring a Redirect Site for HTTPS

When users open a browser to your KommerceServer site, they typically connect using the unencrypted HTTP protocol. However, your site runs exclusively in the HTTPS secure sockets protocol. Unfortunately, IIS server will not serve a page using HTTPS when it is requested using HTTP by default. To do this, you must add a redirect site. This section describes the process for configuring this site.

The examples provided in this section assumes a simple configuration with only one production website. You will need to adapt the configuration as required by your environment.

To configure the redirect site, you must create the site in IIS and then configure an HTTP redirect.

To create the redirect site

  1. On the web server, open Internet Information Services (IIS) Manager.
  2. In the Connections panel, navigate to the Sites node.
  3. Right-click Sites, then click Add Website.
    Name the site according to the format productionSiteName.Redirect.
  4. Next to the Physical path field, click the ellipsis button.
  5. In the Browse for Folder window, select the parent directory of the production site.
  6. Click Make New Folder.
  7. Name the new folder with the same name as the new redirect site.
  8. Click OK to select the folder.
  9. In the Binding group, enter the fields as shown below:
  10. Click OK to save the new site.

To configure the redirect site

  1. Open Internet Information Services (IIS) Manager.
  2. In the Connections pane, double-click the new redirect site.
  3. Under the IIS group in the home page for the site, locate HTTP Redirect.
  4. If HTTP Redirect is not displayed, you must install the feature.
    After it is installed, you must restart Internet Information Services (IIS) Manager to see it.
  5. Double-click HTTP Redirect.
    This opens the HTTP Redirect page.
  6. Configure the settings as shown in the image below.
  7. In the Redirect requests to this destination field, make sure the value has the correct value for your site. The format is the fully qualified address of your site using the HTTPS protocol, followed by the substitution values “$V$Q”.